public class GDComputerFactory extends ComputerFactory{
    @Override
    public <T extends Computer> T createComputer(Class<T> clz){
        Computer computer=null;
        String className=clz.getName();
        try{
            computer=(Computer)Class.forName(className).newInstance();
        }catch(Exception e){
            e.printStackTrace();
        }
        return (T) computer
    }
}